﻿
using Core.Models.LoginUser;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;

namespace Core.Framework.CommonControllers;

public class CommonController<T> : ControllerBase
{
    private readonly ILogger<T> _logger;

    public UserModel CurrentUser => HttpContext.User.GetCurrentUser();

    public CommonController(ILogger<T> logger)
    {
        _logger = logger;
    }
}
